package com.tech.mapper.factory;

import com.tech.mapper.*;
import com.tech.util.DBUtil;

public class DaoImplFactory {
	public static AddressDao getAddressDao() {
		return DBUtil.getMapper(AddressDao.class);
	}

	public static AdminDao getAdminDao() {
		return DBUtil.getMapper(AdminDao.class);
	}

	public static GoodsDao getGoodsDao() {
		return DBUtil.getMapper(GoodsDao.class);
	}

	public static CarDao getCarDao() {
		return DBUtil.getMapper(CarDao.class);
	}

	public static GoodsImageDao getGoodsImageDao() {
		return DBUtil.getMapper(GoodsImageDao.class);
	}

	public static GoodsSortDao getGoodsSortDao() {
		return DBUtil.getMapper(GoodsSortDao.class);
	}

	public static MessageDao getMessageDao() {
		return DBUtil.getMapper(MessageDao.class);
	}

	public static OrderDao getOrderDao() {
		return DBUtil.getMapper(OrderDao.class);
	}

	public static PortDao getPortDao() {
		return DBUtil.getMapper(PortDao.class);
	}

	public static ShortMessageDao getShortMessageDao() {
		return DBUtil.getMapper(ShortMessageDao.class);
	}

	public static UserDao getUserDao() {
		return DBUtil.getMapper(UserDao.class);
	}
}
